Set infobar css classes permanently
authorPaolo Borelli <pborelli@gnome.org>
Tue, 21 Feb 2012 22:42:39 +0000 (23:42 +0100)
committerPaolo Borelli <pborelli@gnome.org>
Fri, 24 Feb 2012 07:16:55 +0000 (08:16 +0100)
commit4a6658b0faf1ece6183dad8578af880badee98ba
tree4e5af83f5c7b4763d3e9c11b0ac1e387cf33b9f9
parent86ffa06f018f2f760c6d466c724e792d51375cc4
Set infobar css classes permanently

The message-type css classes must be in the widget context all the time,
not only when drawing, otherwise they are not propagated to the
children, for instance a label in the InfoBar must inherit the
color. Add a corresponding reftest.

https://bugzilla.gnome.org/show_bug.cgi?id=670555
gtk/gtkinfobar.c
tests/reftests/Makefile.am
tests/reftests/info-bar-message-types.css [new file with mode: 0644]
tests/reftests/info-bar-message-types.ref.ui [new file with mode: 0644]
tests/reftests/info-bar-message-types.ui [new file with mode: 0644]